#ifndef GAME_TIMER_H
#define GAME_TIMER_H

#include "Object.h"

#define SPRITE_WIDTH 128
#define SPRITE_HEIGHT 32

class GameTimer:public Object
{
private:
	float sumTime;			//second
	float remainTime;

public:
	GameTimer(float sumTime, int x, int y, int width, int height);
	~GameTimer();

	void IncreaseTime(float deltaTime);
	void DecreaseTime(float deltaTime);
	bool IsTimeOut();
	void Update();
	void Render();
	void Reset();
};

#endif